| Conditions | 2 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | import { elements, resetBoxes, setStateFromIndex, state } from '../../bip39'; |
||
| 46 | |||
| 47 | function scheduleErrorAutoClear(): void { |
||
| 48 | if (errorClearTimeout) { |
||
| 49 | clearTimeout(errorClearTimeout); |
||
| 50 | } |
||
| 51 | errorClearTimeout = setTimeout(() => { |
||
| 52 | elements.wordInput.classList.remove('error'); |
||
| 53 | }, 3500); |
||
| 54 | } |
||
| 55 |